﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Practices.Unity;

namespace MP3Ganizer.Modules.Visualisation.Views
{
    /// <summary>
    /// Interaction logic for VisualisationDefaultV.xaml
    /// </summary>
    public partial class VisualisationDefaultV : UserControl, IVisualisationDefaultV
    {
        #region Fields
        private readonly IUnityContainer _container;
        #endregion

        /// <summary>
        /// Constructeur.
        /// </summary>
        /// <param name="container"></param>
        public VisualisationDefaultV(IUnityContainer container)
        {
            this._container = container;
            InitializeComponent();
        }

        public void SetModel(ViewModels.IVisualisationVM model)
        {
            this.DataContext = model;
        }
    }
}
